package com.jobportal;

public class TestMe 
{
	public static void main(String[] args) 
	{
		System.out.println("Hello World!");
		String criteria="Any";
		String[] s = {"a","b","c"};
		String condition="";
		for(int i=0;i<s.length;i++){
			condition+="like '%"+s[i]+"%'";
			if(criteria.trim().equalsIgnoreCase("any") && i!=s.length-1){
			  condition+=" or ";
			}else if(criteria.trim().equalsIgnoreCase("all") && i!=s.length-1){
			  condition+=" and ";
			}
		}
		System.out.println("-->"+condition);
		//getSCondition(String Keywords,String Criteria,String Location,String Experience,String FunctionalArea)
		String SCon = com.jobportal.MyFunctions.getSCondition("MCA","All","Hyderabad","2","");
		System.out.println("-->"+SCon);

	}
}
